package com.jiazhong.example.project.bookstore.commons.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class Discount implements Serializable {
    @TableId
    private String id;
    private String bookId;
    private String userId;
    private String createTime;
    private Integer status; // 1：折扣可用
    private Double discountRate;
}
